/*	******************************************
	File:		StateSoundTest.h
	Author:		Adnan Srna, Peter Kober, Ivo Havranek
	Purpose:	AugmentedReality 2
	(up)Date:	March/April 2010
	Descr.:		demo for our sound interface
	Origin:		Salzburg University of Applied Science
	******************************************	*/

#pragma once
#include "State.h"
#include "../SoundTracker.h"

class StateSoundTest: public State{
	public:
		StateSoundTest();
		~StateSoundTest();
		void setup(StateManager* _manager);
		void update();
		void draw();

		void keyPressed(ofKeyEventArgs& arg);
		void drawGUI();

	private:

		ofTrueTypeFont	guiText;
		ofSoundPlayer	music;
		float			mPos;
		bool			mPlaying;

		CSound			soundTool;
};
